package 第二章;
import java.util.Scanner;
public class 介绍自己 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.print("请输入姓名");
        String name=input.next();
        System.out.println("我是："+name);
        System.out.print("请输入年龄：");
        int age=input.nextInt();
        System.out.println("今年"+age+"岁了");
        System.out.print("请输入性别:");
        char male=input.next().charAt(0);
        System.out.println("性别："+male);
    }
}
